﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WXDba.Entity
{
    /// <summary>
    /// 微信用户信息扩展
    /// </summary>
    public partial class WXUser
    {
        /// <summary>
        /// 获取微信用户头像小图
        /// </summary>
        public string HeadImgURL_46
        {
            get
            {
                if (string.IsNullOrEmpty(this.HeadImgUrl))
                    return "";
                string url = this.HeadImgUrl.Substring(0, this.HeadImgUrl.Length - 1);
                return url + "46";
            }
        }
        /// <summary>
        /// 获取微信用户头像中图片，使用比较多
        /// </summary>
        public string HeadImgURL_132
        {
            get
            {
                if (string.IsNullOrEmpty(this.HeadImgUrl))
                    return "";
                string url = this.HeadImgUrl.Substring(0, this.HeadImgUrl.Length - 1);
                return url + "132";
            }
        }

    }
}
